//
//  GYLockListHeadView.h
//  LockManagement
//
//  Created by apple on 2018/7/27.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GYLock.h"

typedef void(^headViewBtnClickBlock)(GYLock *model);

@interface GYLockListHeadView : UITableViewHeaderFooterView

/** 数据模型 */
@property (nonatomic, strong) GYLock *model;

/** 代表是否选中 */
@property (nonatomic, getter=isOpen) BOOL open;


/** 点击头视图 */
@property (nonatomic, copy) headViewBtnClickBlock headViewBtnClickCallBack;

+ (instancetype)headViewWithTableView:(UITableView *)tableView;

@end
